package com.ns002.yigou.quote.domain.quotekline.result;

import com.alibaba.fastjson.annotation.JSONField;
import com.ns002.yigou.quote.json.JSONResult;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Author xu
 * @Date 2017/8/7 0007 下午 1:56
 */
@ApiModel
public class LastNodeResult {

    @ApiModelProperty(name = "type", value = "开盘价",required = true, example = "110.826")
    private String open;
    @ApiModelProperty(name = "type", value = "收盘价",required = true, example = "110.84")
    private String close;
    @ApiModelProperty(name = "type", value = "最高价",required = true, example = "110.818")
    private String high;
    @ApiModelProperty(name = "type", value = "最低价",required = true, example = "110.821")
    private String low;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "type", value = "开始时间",required = true, example = "2017-08-07 17:35:00")
    private Date startDate;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "type", value = "结束时间",required = true, example = "2017-08-07 17:40:00")
    private Date endDate;


    /** 开 */
    public String getOpen() {
        return open;
    }

    public void setOpen(String open) {
        this.open = open;
    }

    /** 收 */
    public String getClose() {
        return close;
    }

    public void setClose(String close) {
        this.close = close;
    }

    /** 高 */
    public String getHigh() {
        return high;
    }

    public void setHigh(String high) {
        this.high = high;
    }

    /** 低 */
    public String getLow() {
        return low;
    }

    public void setLow(String low) {
        this.low = low;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
